package com.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
//这是9001开启hystrix的第二步 第三部在controller上面的注解上面
@EnableHystrix
public class OrderFeignHystrix9001Application {

	public static void main(String[] args) {
		SpringApplication.run(OrderFeignHystrix9001Application.class, args);
	}

}
